package edu.sctu.practice.class02.hujie.my_practice.day20151029;

/**
 * Created by hj on 2015/10/29.
 */
//多态
//接口 implements
public class Animal implements Fly {
    public int age;

    public void eat() {
        System.out.println("Animal could eat");
    }

    public void run() {
        System.out.println("他能跑");
    }
@Override
    public void fly() {
    System.out.println("animal can fly");
    }
}
